<?php
/**
 * Created by : PhpStorm
 * User: godjarvis
 * Date: 2020/8/5
 * Time: 9:06
 */

namespace App\Bucket\Session;


use App\Model\Service\UserService;

/**
 * @property Userx $user
 */
trait UserTrait
{
    public function getContextUser()
    {
        return UserService::getInstance()->getUser();
    }
}